#ifndef _UTIL_H__
#define _UTIL_H__

#include <algorithm>
#include <cstdlib>
#include <string>
#include <cstdarg>
#include <set>
#include <queue>
#include <list>
#include <vector>
#include <map>

std::string char2hex( char dec );
std::string urlencode( const std::string &c );
std::vector<std::string> stringsplit(std::string s, char p);

#endif